package com.chengqs.rainbow.im.client.tcp.command;

import com.chengqs.rainbow.common.protobuf.Command;
import com.chengqs.rainbow.im.client.tcp.TcpClient;
import io.netty.channel.ChannelHandlerContext;

/**
 * <B>主类名称：</B>CommandHandler<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-14 20:06:27
 **/
public interface CommandHandler {

    void handleCommand(Command command, ChannelHandlerContext ctx, TcpClient tcpClient);

    int getType();
}
